package com.bdzl.biz.feign;

import com.bdzl.biz.feign.impl.FeignloanAdminimpl;
import com.bdzl.pub.entity.data.BankcardDO;
import com.bdzl.pub.entity.sys.FileDO;
import com.bdzl.pub.util.param.PageUtils;
import com.bdzl.pub.util.param.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@FeignClient(name = "loanAdmin",fallback = FeignloanAdminimpl.class)
public interface FeignloanAdmin {

    /**
     * 添加银行卡信息表
     */
    @PostMapping("/bdzl/bankcard/save")
    @ResponseBody
    public R saveBankcard(@RequestBody BankcardDO bankcard);



    /**
     * 添加合同信息
     */
    @PostMapping("/bdzl/file/save")
    @ResponseBody
    public R saveFile(@RequestBody FileDO fileDO);


}
